package com.buer.dao.util.db;

import java.io.Serializable;


public class BaseEntity implements Serializable {
    /**
     */
    private static final long serialVersionUID = 1L;

    /**
     * 当前Sql查询记录总数
     */
    private Integer totalCount;

    /**
     * 待办任务Code
     */
    private String taskCode;

    /**
     * timestamp.getTime()用作防并发验证
     */
    private Long validateTime;

    public Long getValidateTime() {
        return validateTime;
    }

    public void setValidateTime(Long validateTime) {
        this.validateTime = validateTime;
    }

    /**
     * 返回当前Sql查询记录总数
     * 
     * @return
     */
    public Integer getTotalCount() {
        return totalCount;
    }

    /**
     * 设置当前Sql查询记录总数
     * 
     * @param totalCount
     */
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public String getTaskCode() {
        return taskCode;
    }

    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

}
